mod fib_calcs;

use pyo3::prelude::*;

#[pyfunction]
fn echo() {
    println!("fib first rs package")
}

#[pymodule]
fn fib_rs(m: &Bound<'_, PyModule>) -> PyResult<()> {
    m.add_function(wrap_pyfunction!(echo, m)?)?;
    m.add_function(wrap_pyfunction!(
        fib_calcs::fib_number::fibonacci_number,
        m
    )?)?;
    m.add_function(wrap_pyfunction!(
        fib_calcs::fib_numbers::fibonacci_numbers,
        m
    )?)?;
    Ok(())
}
